<ul class="list-QA">
    @foreach($data['questions'] as $question)
    <li>
        <div>

            <a href="#" class="font-Bold colorRed">[<?= $question->category_title == "" ? "..." : $question->category_title ?>]</a>
            <?php Str::slug($question->title) != '' ? $name = Str::slug($question->title) : $name = 'none' ?>
            <a href="{{route('chi-tiet-hoi-dap',array('id'=>$question->id,'name'=>$name))}}" class="colorDackG font-Bold">- {{$question->title}}</a>
        </div>
        <div class="font11">
            <span class="color55">Người đăng:</span>
            <a href="#">{{$question->username}} &nbsp;</a>	
            <span class="color55">Ngày đăng:</span>
            <span class="color55">{{$question->getUpdatedAtAttribute($question->created_at)}} &nbsp;</span>	
            <span class="color55">{{$question->views}} lượt xem</span>	
        </div>
    </li>
    @endforeach

</ul>
<div class="box-phantrang">
    <div class="{{$data['param']}}">
        <?php
        Paginator::setPageName($data['param']);
        echo $data['questions']->links();
        ?>
    </div>
</div>
